package components.plugins
{
	import classes.clt_events;
	
	import components.clt_workspace;
	
	import flash.events.Event;
	
	public class clt_plugin {
		private var _clt: clt_clothingBase;
		public function clt_plugin(a_clt: clt_clothingBase) {
			_clt = a_clt;
			listenEvents();
			initialize();
		}
		
		protected function initialize(): void {
			
		}
		
		protected function listenEvents(): void {
		}
		
		protected function removeEvents(): void {
		}
		
		protected function get workspace(): clt_workspace {
			return _clt.workspace;
		}

		public function get clt(): clt_clothingBase {
			return _clt;
		}
		
		public function dispose(): void {
			removeEvents();
		}
		
		public function execute(params: Object): void {
			
		}
	}
}